using System;

namespace MvcApplication7.Models
{
    public class ViewUserControl1Model
    {
        private readonly Action<Action> selfAction;

        public ViewUserControl1Model(Action<Action> selfAction)
        {
            this.selfAction = selfAction;
        }

        public void Method1(Action action)
        {
            selfAction(action);
        }

    }
}